POV-Ray : Newsgroups : povray.binaries.images : Grass-iso [50kb] : Grass-iso [50kb] Server Time
17 Aug 2024 00:19:56 EDT (-0400)
  Grass-iso [50kb]  
From: Tom Melly
Date: 30 Nov 2001 04:46:13
Message: <3c075565@news.povray.org>
I know others have done this already, but nothing like rolling your own...

Grass iso-surface, rendered with radiosity. Getting there....

--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message


Attachments:
Download 'a2.jpg' (50 KB)

Preview of image 'a2.jpg'
a2.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.